home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 38 / Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso / -screenplay- / shareware / hammytown / 1.room next >
Text File  |  1999-02-08  |  4KB  |  138 lines

  1. /*                     This is a room file for GRAAL
  2. /*
  3. /*                                 1.room
  4. /* RF 1=0 first visit
  5.  
  6.  
  7. /* UPDATE: scroll_frames;normal_frames
  8. /*
  9. UPDATE: 3;1
  10.  
  11. /* SECTION: section number
  12. /*
  13. /*   The room belongs to section 1, described in the file 1.section.
  14. /*
  15. SECTION: 1
  16.  
  17. /* BG_IFF: filename
  18. BG_IFF: 1BG.IFF
  19.  
  20. /* START_POS: sposno;bobimage;x;y;camera;floor
  21. START_POS: 1;13;189;75;L;1
  22. START_POS: 2;11;11;102;M;1
  23.  
  24. /* FLOOR: floorno;x1;y1;x2;y2;floormap/.../floormap
  25. /*
  26. FLOOR: 1;-1;74;223;102;1-1/2-2
  27. FLOOR: 2;191;38;249;95;1-1/2-2
  28.  
  29. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  30. /*
  31. /*   This command defines an exit
  32. /*   x1;y1;x2;y2 = exit area
  33. /*   epointx;epointy = point to move character to when exiting
  34. /*   description = cursor description of exit
  35. /*
  36. EXIT: 1;0;64;18;111;1;105;street
  37.  
  38. /* CLPART: filename
  39. /*
  40. CLPART: 1FG.IFF
  41.  
  42. /* ROOMBOBS: no_of_imgs;startrbob;grabx;graby;width;height;xoffset;hotsp
  43. /* 1 is the car wreck
  44. ROOMBOBS: 1;1;54;2;44;35;0;0
  45. /* 2 is the picnic bench
  46. ROOMBOBS: 1;2;2;4;49;17;0;0
  47.  
  48. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  49. /*
  50. /*   The object number specified here must later be prefixed by "ROBJ" when
  51. /*   referred to in other statements and commands.
  52. /*
  53. ROOMOBJ: 1;Car Wreck;1;VIS;51;RBOB1;172;72;24;-3;11; ;NPICK; ;8; ;LOW;TD;a; ; 
  54. ROOMOBJ: 2;Picnic Table;1;VIS;50;RBOB2;80;75;19;0;11; ;NPICK; ;8; ;MID;W;a; ; 
  55.  
  56. /* DACT: condition;...;action;...
  57. /*
  58. /*   These lines contain room actions performed directly as you enter the
  59. /*   room.
  60. /*
  61. /* Put some items in the inventory from the very start:
  62. DACT: IFRF 1=0;GET 34,U
  63. /*
  64. /* Make sure none of the above happens more than once...
  65. /*DACT: IFRF 1=0;SETRF 1=1
  66. /* That is already done later. (9 lines below?)
  67. /*
  68. /* Light up scene
  69. DACT: TRACK MUSIC.01.MOD,LOOP,NOFILTER;LIGHTS ON
  70. DACT: IFRF 1=0;SAY Now what do I do?;SETRF 1=1;EXIT
  71.  
  72. /* LINE: dlgno;lineno;line;reuseline;conditions
  73.  
  74. /* Room actions follow below ***
  75. /*
  76. /* ACTION: verbno;condition;...;command;...
  77.  
  78. /*
  79. /* Action 0 - Exit
  80. /* ===============
  81. /*
  82. ACTION: 0;IFOBJ 1;MEXIT;GOTO 2,1
  83. /*
  84. /* Action 1 - Give
  85. /* ===============
  86. /*
  87. /*
  88. /* Action 2- Pick up
  89. /* =================
  90. /*
  91. ACTION: 2;IFOBJ ROBJ1;SAY Oh, yeah, right. Carry it to the garage.;SAY What a great idea.;EXIT
  92. ACTION: 2;IFOBJ ROBJ2;SAY Why? This spot is as good as any for a picnic!;EXIT
  93. /*
  94. /* Action 3 - Use
  95. /* ==============
  96. /*
  97. ACTION: 3;IFTYPE X;IFOBJ2 ROBJ1;SAY I don't think that would help me to get anything out of the car...;SAY ...you'd need a disc cutter or something!;EXIT
  98. ACTION: 3;IFOBJ ROBJ1;SAY Use the car?!;SAY Come on!;SAY Look at the state of it!;EXIT
  99. ACTION: 3;IFOBJ ROBJ2;SAY Now is not the time to be having a picnic!;EXIT
  100. /*
  101. /* Action 4 - Open
  102. /* ===============
  103. /*
  104. ACTION: 4;IFOBJ ROBJ1;SAY Everything is crushed: I can't open it!;EXIT
  105.  
  106. /* Action 5 - Talk to
  107. /* ==================
  108. /*
  109. /*
  110. /* Action 6 - Push
  111. /* ===============
  112. /*
  113. /*
  114. /* Action 7 - Close
  115. /* ================
  116.  
  117. ACTION: 7;IFOBJ ROBJ1;SAY The Door is already crumpled shut.;EXIT
  118.  
  119. /* Action 8 - Look at
  120. /* ==================
  121. /*
  122. ACTION: 8;MOBJ
  123. ACTION: 8;IFOBJ ROBJ1;SAY My Poor Car!;SAY It's a total write off!;EXIT
  124. ACTION: 8;IFOBJ ROBJ2;SAY It's a badly drawn wooden picnic table.;EXIT
  125. /*
  126. /* Action 9 - Pull
  127. /* ===============
  128. /*
  129. ACTION: 9;MOBJ
  130. ACTION: 9;IFOBJ ROBJ1;SAY There's no chance of pulling my car off that tree.;EXIT
  131. ACTION: 9;IFOBJ ROBJ2;SAY It's bolted to the floor.
  132.  
  133.  
  134. ACTION: 10;TEXT -1,0,9,You have scored #R#0#20# points so far.;EXIT
  135. /*
  136. /* End of room file. Some comments must be here, otherwise  the last command
  137. /* line is missed out!
  138.